<?php $this->load->view('home/layout/header') ?>
    <div class="bzNotice widthMax">
        <header class="notice-head am-cf">
            <div class="return am-fl">
                <a href="javascript:goHistoryBack('<?php echo site_url();?>')">
                    <i class="iconfont icon-zuojiantou"></i>
                </a>
            </div>
            <div class="title am-fl">公告</div>
            <div class="more am-fl sec-doment am-dropdown" data-am-dropdown>
                <div class="am-dropdown-toggle" data-am-dropdown-toggle>
                    <i class="iconfont">&#xe63a;</i>
                </div>
                <ul class="am-dropdown-content">
                    <li><a href="<?php echo site_url();?>"><i class="iconfont">&#xe613;</i>首页</a></li>
                    <li>
                        <a class="sales-share" href="javascript:void(0)" data-link="<?php echo current_url();?>" data-name="<?php echo isset($headTitle) ? $headTitle : '一站式购物商城';?>">
                            <i class="iconfont">&#xe675;</i>分享
                        </a>
                    </li>
                </ul>
            </div>
        </header>
        <div class="notice-nav scrollspy-nav" data-am-sticky>
            <div class="scroll-nav" style="width:<?php echo (($news_class->num_rows() + 1)  *  5.6) .'rem';?>"><!--5.6rem*num-->
                <ul class="am-cf">
                    <li class="active" data-class-id="0">推荐</li>
                    <?php if ($news_class->num_rows() >0): ?>
                        <?php foreach ($news_class->result() as $key => $val ): ?>
                            <li data-class-id="<?php echo $val->class_id;?>"><?php echo $val->class_name;?></li>
                        <?php endforeach ?>
                    <?php endif ?>
                </ul>
            </div>
        </div>
        <div class="noticeList">
            <?php $this->load->view('home/home/ajaxNotice') ?>
        </div>
    </div>
<?php $this->load->view('home/layout/share');?>
<?php $this->load->view('home/layout/footer') ?>